import os
from info.日本地震数据处理 import graphs
import shutil
import os
paths= []
file = 'D:\Codeware\Pythoncode\info\日本数据'
for root, dirs, files in os.walk(file):
    for file in files:
        path = os.path.join(root, file)
        # print(path)
        # if(path.split('.')[-1]=='gz'):
        if path.split('.')[-1]=='UD' or path.split('.')[-1][0:2]=='UD':
            paths.append(path)
            # print(path)
# print(len(paths))
# for path in paths:
#     print(path)
